package request

type CreateOrder struct {
	UserId    int64   `json:"user_id" form:"user_id" binding:"required"`     // 用户ID
	DriverId  int64   `json:"driver_id" form:"driver_id" binding:"required"` // 司机ID
	Start     string  `json:"start" form:"start" binding:"required"`         // 起始地
	End       string  `json:"end" form:"end" binding:"required"`             // 目的地
	Kilometer float64 ` json:"kilometer" form:"kilometer" binding:"required"`
}
type Update struct {
	Id uint `json:"id" form:"id" binding:"required" `
}
type DetailOrder struct {
	Id uint `json:"id" form:"id" binding:"required" `
}
type MyOrderList struct {
	UserId uint `json:"user_id" form:"user_id" binding:"required" `
}
